﻿using BootstrapBlazor.Components;
using System.ComponentModel.DataAnnotations;
using TrackSystem.Entities.Dtos.Sensor;

namespace TrackSystem.Entities.Dtos.Channel
{
    public class ChannelWithSensorsDto : ChannelDto
    {
        /// <summary>
        /// 传感器列表
        /// </summary>
        [Display(Name = "传感器")]
        [AutoGenerateColumn(Order = 200)]

        public List<SensorDto> Sensors { get; set; } = new();
    }
}
